#include "Control/ControlInclude.h"
#include "Util/UtilInclude.h"
#include "CMSGInforCon.h"
#include "CSubClubSetCon.h"
  


class CMSGClubSettingCon :	public CMSGInforCon
{

public:
	CMSGClubSettingCon(HWND hWnd);
	virtual ~CMSGClubSettingCon(void);

public:

	virtual void  OnLButtonDown(UINT nFlags, CPoint point);
   	virtual void OnCommand(HWND hWnd, UINT wMsg, WPARAM wParam, LPARAM lParam);
	virtual void  OnLButtonUp(UINT nFlags, CPoint point);
	virtual BOOL InitControls(DWORD dwData);
	void  ChangeLanguage();
	CSubClubSetCon * GetSubCon(){return m_pSubCon; }
	void ReLoadConfig();
	void SaveConfig();
	void IsModify(UINT msg); 



public:
	CResConfig m_config;
	wstring  m_strCaption;
	float    m_fZoom;
	CProgress* m_pProgress;
	CSubClubSetCon * m_pSubCon;
    HWND  m_hWnd;
   //CNumberCtrl* m_psubTotalTime;
   //CNumberCtrl* m_psubTotalTimeDis;
   //CNumberCtrl* m_psubTotalTimeRep;
   //CNumberCtrl* m_psubLifeTime;
   //CNumberCtrl* m_psubLifeTimeDis;
   //CNumberCtrl* m_psubLifeTimeRep;
   //

   int m_TotalTime;
   int m_TotalDis;
   int m_TotalRep;
   friend class CSubCon;
};